package models

import (
	"time"
)

// BatchTitlePackage 对应数据库中的 batch_title_package 表
type BatchTitlePackage struct {
	ID        int64     `json:"id" gorm:"primaryKey;autoIncrement"`
	MediaID   int       `json:"media_id"`
	Name      string    `json:"name"`
	Titles    []string  `json:"titles" gorm:"type:json"`
	CreatedAt time.Time `json:"created_at" gorm:"default:CURRENT_TIMESTAMP"`
	UpdatedAt time.Time `json:"updated_at" gorm:"default:CURRENT_TIMESTAMP;not null"`
	IsDeleted bool      `json:"is_deleted" gorm:"default:0"`
	CreateUID int       `json:"create_uid" gorm:"default:0"`
	UpdateUID int       `json:"update_uid" gorm:"not null;default:0"`
	CompanyID int       `json:"company_id" gorm:"not null;default:0"`
	GroupID   int       `json:"group_id" gorm:"not null;default:0"`
}
